Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add get_emission #63

Merged
merged 2 commits into from
Jun 17, 2024
Merged

Add get_emission #63

merged 2 commits into from
Jun 17, 2024

Conversation

ThomasColthurst
Copy link
Collaborator

No description provided.


BOOST_AUTO_TEST_CASE(test_get_emission_gaussian) {
EmissionVariant ev = get_emission("gaussian");
GaussianEmission *ge = std::get<GaussianEmission *>(ev);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you run clang-format? Elsewhere we've written pointer types with spacing like GaussianEmission* ge, and clang-format should make that consistent (since our config file has PointerAlignment: Left).

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@ThomasColthurst ThomasColthurst merged commit 1d7e48f into master Jun 17, 2024
1 of 2 checks passed
@ThomasColthurst ThomasColthurst deleted the 061724-thomaswc-getemission branch June 17, 2024 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants